home *** CD-ROM | disk | FTP | other *** search
/ kermit.columbia.edu / kermit.columbia.edu.tar / kermit.columbia.edu / newsgroups / misc.19980424-19980901 / 000057_news@newsmaster….columbia.edu _Thu May 7 01:24:53 1998.msg < prev    next >
Internet Message Format  |  1998-08-31  |  3KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id BAA21238
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Thu, 7 May 1998 01:24:53 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id BAA11721
  7.     for kermit.misc@watsun; Thu, 7 May 1998 01:24:52 -0400 (EDT)
  8. Path: news.columbia.edu!panix!howland.erols.net!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!worldnet.att.net!newsadm
  9. From: Bernie <bfb@worldnet.att.net>
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: Date Bug?
  12. Date: Thu, 07 May 1998 05:22:08 +0000
  13. Organization: AT&T WorldNet Services
  14. Lines: 48
  15. Message-ID: <6irge5$a23@bgtnsc03.worldnet.att.net>
  16. References: <6ionbf$s3g@bgtnsc01.worldnet.att.net> <6iprm7$s4s$1@apakabar.cc.columbia.edu> <6iq2pb$dd0$1@samba.rahul.net>
  17. NNTP-Posting-Host: 12.68.110.41
  18. Mime-Version: 1.0
  19. Content-Type: text/plain; charset=us-ascii
  20. Content-Transfer-Encoding: 7bit
  21. X-Mailer: Mozilla 4.05 [en] (X11; I; Linux 2.0.31 i586)
  22. Xref: news.columbia.edu comp.protocols.kermit.misc:8709
  23.  
  24. dold@04.usenet.us.com wrote:
  25.  
  26. > : Bernie  <bfb@worldnet.att.net> wrote:
  27. > : : There's a 4 hour discrepancy between the date in C-Kermit
  28. > : : 6.0.192 and my linux box.  Below is the date command issued
  29. > : : from C-Kermit and then the command line.
  30. >
  31. > : : C-Kermit@localhost> date
  32. > : : Wed May  6 03:59:03 1998
  33. >
  34. > : : C-Kermit@localhost> qui
  35. > : : /home/super/kermit> date
  36. > : : Tue May  5 23:59:08 EDT 1998
  37. > Frank da Cruz (fdc@watsun.cc.columbia.edu) wrote:
  38. >
  39. > : I've never seen this before.  C-Kermit gets the date and time
  40. > : (as you might expect) by asking the operating system.  The
  41. >
  42. > In Unix, the time is kept as GMT, which, with Daylight Savings, is the four
  43. > hour difference from EDT that you are seeing.
  44. >
  45. > I suspect that your TZ variable is not being exported to subsequent shells.
  46. > Usually in either /etc/profile or /ect/TZ, your local timezone will be set,
  47. > and exported.
  48. >
  49. > You should see the same effect by entering an editor and invoking date from
  50. > within the editor.
  51. >
  52. > Or, run "env" from the command line, look for TZ, "sh" to invoke a
  53. > sub-shell, and "env" again.
  54. >
  55. > for a bourne sh, the command would look like
  56. > TZ=PST8PDT export TZ
  57. >
  58. > Actually, there is a much fancier new setting for SVR4, but I forget what
  59. > it is.  Linux might adhere to the new standard.
  60. >
  61. > --
  62. > ---
  63. > Clarence A Dold - dold@network.rahul.net
  64. >                 - Pope Valley & Napa CA.
  65.  
  66.  
  67. Yes, I had my TZ environment variable set to EDT to correct
  68. a bug with BRU2000.
  69.  
  70. -Thanks
  71.